package io.finer.erp.jeecg.approve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审批流实例
 * </p>
 *
 * @author yaoyifan
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ApproveFlowInstance对象", description="审批流实例")
public class ApproveFlowInstance implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "关联表")
    private String model;

    @ApiModelProperty(value = "单据ID")
    private String documentId;

    @ApiModelProperty(value = "审批流ID")
    private Integer approveFlowId;

    @ApiModelProperty(value = "当前审批节点位置")
    private Integer curPos;

    @ApiModelProperty(value = "审批流实列状态")
    private String status;

    @ApiModelProperty(value = "制单人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "版本")
    private Integer version;


}
